package com.example.demo02.dao;

import com.example.demo02.entity.Shop;
import com.example.demo02.entity.TcParkpot;
import com.example.demo02.form.ShopForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TestMapper {

    List<Shop> getShopListByPage(ShopForm shopForm);

    String getParkpotNameByShopId(Integer id);

    String getOptNameById(@Param("optid") Integer optid);

    Integer selectCountByDate(@Param("start") String start, @Param("end") String end);

    List<TcParkpot> getAllParkpot();
}
